﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demos.DesignPatterns._15_模板方法
{
    /// <summary>
    /// 国际订单处理
    /// </summary>
    public class TInternationalOrderProcessor: TOrderProcessor
    {
        protected override void ProcessPayment()
        {
            Console.WriteLine("处理PayPal支付...");
        }

        protected override void ShipOrder()
        {
            Console.WriteLine("使用DHL国际快递发货...");
        }

        protected override void GiftWrap()
        {
            Console.WriteLine("国际标准礼品包装...");
        }

    }
}
